package org.newcih.service;

import org.newcih.domain.Order;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface IOrderService {

    void save(Order order);

    void delete(Order order);

    void update(Order order);

    Order findById(String id);

    List<Order> findAll();

    Page<Order> findAll(Pageable pageable);

}
